<?php /* Smarty version Smarty-3.1.8, created on 2012-04-09 17:27:26
         compiled from "C:\xampp\htdocs\step-114\themes\release\user\auth.tpl" */ ?>
<?php /*%%SmartyHeaderCode:197494f82ffde559ba0-63408970%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f51e1f5c9cac9c17cda9bcda5620534c7bee8eb2' => 
    array (
      0 => 'C:\\xampp\\htdocs\\step-114\\themes\\release\\user\\auth.tpl',
      1 => 1333984379,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '197494f82ffde559ba0-63408970',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'isAuth' => 0,
    'UserName' => 0,
    'path' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4f82ffde668561_15378223',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4f82ffde668561_15378223')) {function content_4f82ffde668561_15378223($_smarty_tpl) {?><?php if ($_smarty_tpl->tpl_vars['isAuth']->value){?>
<div style="text-align:center;">Добро пожаловать <?php echo $_smarty_tpl->tpl_vars['UserName']->value;?>
</div>
<button id="btntoExit" type="button" value="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
" onclick="toExitAuth()" >Выход</button>
<?php }else{ ?>
<div style="text-align:center;">Авторизация</div>
<form>
    <table>
        <tr>
            <td>Введите UserName или Email</td>
            <td>
                <input type="text" id="username" name="username" size="20" value="" style="background-color:White;" maxlength="25" />
            </td>
        </tr>
        <tr>
            <td>Введите пароль</td>
            <td>
                <input type="password" id="password" name="password" size="20" value="" style="background-color:White;" />
            </td>
        </tr>
    </table>
    <button id="btnAuth" type="button" value="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
" onclick="IsAuth()" >Вход</button>
    
    <div id="AuthError" style="text-align:center;"></div>
</form>
<?php }?><?php }} ?>